﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace WebApi.Models
{
    /// <summary>
    /// 类型
    /// </summary>
    public class Ad : BaseModel
    {
        /// <summary>
        /// 广告位名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 物品信息
        /// </summary>
        [BsonRepresentation(BsonType.ObjectId)]
        public Item Item { get; set; }
    }
}
